package com.seari.tunnel.service;

import java.util.List;

import com.seari.tunnel.entity.AlarmHistory;
import com.seari.tunnel.entity.OperationHistory;
import com.seari.tunnel.entity.OperationRepair;
import com.seari.tunnel.entity.OperationSpare;
import com.seari.tunnel.entity.RecordHistory;

public interface IOperatMaintenanceService {
	String SERVICE_NAME = "operatMaintenanceService";
	
	public List<OperationRepair> findOperationRepairs();
	
	public void addOperationRepair(OperationRepair operationRepair);
	
	public void updateOperationRepairFile(int id,String fileName);
	
	public void updateOperationRepair(OperationRepair operationRepair);
	
	public void deleteById(int id);
	
	public List<OperationSpare> findOperationSpare();
	
	public void deleteOperationSapreById(int id);
	
	public void addOperationSpare(OperationSpare operationSpare);
	
	public void updateOperationSpare(OperationSpare operationSpare);
	
	public void addAlarmHistory(AlarmHistory alarmHistory);
	
	public List<AlarmHistory> findAlarmHistory();
	
	public void addOperationHistory(OperationHistory operationHistory);
	
	public List<OperationHistory> findOperationHistory(OperationHistory oh);
	
	public void addRecordHistory(RecordHistory rh);
	
	public List<RecordHistory> findDataHistory(RecordHistory rh);
}